package com.example.natatorium_management.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.example.natatorium_management.entity.Good;
import com.example.natatorium_management.entity.Order;
import com.example.natatorium_management.result.restful.R;

import java.util.List;


public interface OrderService {
    R<IPage<Order>> queryPage(int current,int size);

    R<Order> addOrder(Order order);

    R<Order> deleteOrderById(Integer orderId);

    R<Order> updateOrder(Order order);

    R<IPage<Order>> findOrder(Order order,int current,int size);

}
